<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/9/18
 * Time: 22:00
 */

namespace app\admin\controller;


use phpmailer\Email;

/*
 * 主后台首页
 */
class Index extends Base
{
    public function index()
    {
        return $this->fetch();
    }

    public function welcome()
    {
        return $this->fetch();
    }

    /**
     *展示地图
     */
    public function map(){
        return \Map::staticimage('南昌火车站');
    }

    /**
     * 测试发送邮件服务
     */
    public function aqie(){
        \phpmailer\Email::send('maikeshushu520@163.com','啊切你好','222');
        return '发送邮件成功';
        return $this->fetch();
    }
}